package com.pond.pond.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.pond.pond.domain.PondCommentImage;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class PondCommentVo {
    /** 评价ID */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private Long pondId;
    private String pondName;
    private Long deptId;
    private String deptName;
    private Long userId;
    private String userName;
    private Long orderId;
    private Integer score;
    private String content;
    private Integer isAnonymous;

    // 新增字段 imageList（你想要的）
    private List<PondCommentImage> imageList;

    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX", timezone = "GMT+8")
    private Date updateTime;
}
